Behavior Driven Development for Tests and Verification
نویسندگان
چکیده
The design of hardware systems is a challenging and errorprone task, where a signifcant portion of the effort is spent for testing and verification. Usually testing and verification are applied as a post-process to the implementation. Meanwhile, for the development of software, testfirst approaches such as test driven development (TDD) have become increasingly important. In this paper, we propose a new design flow based on behaviour driven development (BDD), an extension of TDD, where acceptance tests written in natural language drive the implementation. We extend this idea by allowing the specification of properties in natural language and use them as a starting point in the design flow. The flow also includes an automatic generalisation of test cases to properties that are used for formal verification. In this way, testing and formal verification are combined in a seamless manner, while keeping the requirements — from which both tests and formal properties are derived — in a single consistent document. The approach has been implemented and evaluated on several examples to demonstrate the advantages of the proposed flow.
منابع مشابه
آزمون حبابهای چندگانه در بازار ارز ایران: کاربردی از آزمونهای ریشه واحد RTADF
The bubble of Asset Price is the deviation of the asset price from its fundamental value. Since the many of the financial crisis arise from bursting bubble of financial assets, the explore of bubble behaviors in these markets and the early detection for the prevention of adverse economic consequences is important. Considering the criticisms of conventional tests for detecting price bubbles and ...
متن کاملContent-Level Conformance Testing: An Information Mapping Case Study
Content-level conformance testing is a key to achieving interoperable data exchange among applications deployed across collaborating, yet independent enterprises. In this paper, we identify four types of content-level conformance tests to support interoperable data exchange: documentverification tests, information-mapping tests, transaction-behavior tests, and scenario-based tests. We describe ...
متن کاملA model for illustrating the effective factors of strategic behavior (Case study: Social insurance company of Tehran)
Achieving the organizational objectives needs employees’ behavior and their collaboration with management. Strategic behavior-driven is depend on different factors. The aim of this article is to determine the impact of factors on strategic behavior-driven. A conceptual model was developed and tested on a survey in Social Insurance Company of Tehran which employees’ participated. Data collected ...
متن کاملCombining STPA and BDD for Safety Analysis and Verification in Agile Development: A Controlled Experiment
Context: Agile development is in widespread use, even in safety-critical domains. Motivation: However, there is a lack of an appropriate safety analysis and verification method in agile development. Objective: In this paper, we investigate the use of Behavior Driven Development (BDD) instead of standard User Acceptance Testing (UAT) for safety verification with System-Theoretic Process Analysis...
متن کاملPerformance-Based Financing to Strengthen the Health System in Benin: Challenging the Mainstream Approach
Background Performance-based financing (PBF) is often proposed as a way to improve health system performance. In Benin, PBF was launched in 2012 through a World Bank-supported project. The Belgian Development Agency (BTC) followed suit through a health system strengthening (HSS) project. This paper analyses and draws lessons from the experience of BTC-supported PBF alternative approach – especi...
متن کامل